package com.wzs.easytobuy.mapper;

import com.wzs.easytobuy.model.Size;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SizeMapper {
    int deleteByPrimaryKey(String id);

    int insert(Size record);

    int insertSelective(Size record);

    Size selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Size record);

    int updateByPrimaryKey(Size record);

    List<Size> selectByPid(String productId);

    int getSizeById(Integer sizeId);

}